from fastapi import FastAPI
from src.api.routers import chat, analysis, planning

app = FastAPI()

app.include_router(chat.router, prefix="/api/chat", tags=["chat"])
app.include_router(analysis.router, prefix="/api/analysis", tags=["analysis"])
app.include_router(planning.router, prefix="/api/planning", tags=["planning"])

@app.get("/")
async def read_root():
    return {"message": "Welcome to the Planning Agent API"}
